package com.ibiaoke.goods.mapper;

import com.ibiaoke.goods.entity.GoodStock;
import com.ibiaoke.goods.entity.GoodStockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodStockMapper {
    long countByExample(GoodStockExample example);

    int deleteByExample(GoodStockExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodStock record);

    int insertSelective(GoodStock record);

    List<GoodStock> selectByExample(GoodStockExample example);

    GoodStock selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodStock record, @Param("example") GoodStockExample example);

    int updateByExample(@Param("record") GoodStock record, @Param("example") GoodStockExample example);

    int updateByPrimaryKeySelective(GoodStock record);

    int updateByPrimaryKey(GoodStock record);
}